package org.dingfugui.triple.context;

import org.dingfugui.triple.bean.Service;

import java.util.HashMap;

/**
 * Created by fugui.ding on 2015/6/11.
 */
public abstract class AbstractServiceContext implements ServiceContext {

    protected HashMap<String, Service> services = new HashMap<>();

    @Override
    public Service getService(String name) {
        return services.get(name);
    }

}
